package com.aliyun.messagemgt.common.dto.send;

import java.util.List;

/**
 * Created with IDEA
 * 消息中间处理结果实体类
 *
 * @author:zhangxingxing 0027012120
 * @date:2019/2/21
 * @time:14:06
 */
public class MsgMiddleResult {

    /**
     * 接收者信息列表
     */
    private List<Receiver> receivers;
    /**
     * 推送渠道id
     */
    private Long pushChannelId;
    /**
     * 推送渠道编码
     */
    private String pushChannelCode;
    /**
     * 推送渠道类型
     */
    private Integer pushChannelType;
    /**
     * 推送渠道名称
     */
    private String pushChannelName;
    /**
     * 推送结果码
     */
    private Integer pushResultCode;
    /**
     * 推送结果描述
     */
    private String pushResultDescription;

    public List<Receiver> getReceivers() {
        return receivers;
    }

    public MsgMiddleResult setReceivers(List<Receiver> receivers) {
        this.receivers = receivers;
        return this;
    }

    public Integer getPushResultCode() {
        return pushResultCode;
    }

    public MsgMiddleResult setPushResultCode(Integer pushResultCode) {
        this.pushResultCode = pushResultCode;
        return this;
    }

    public String getPushResultDescription() {
        return pushResultDescription;
    }

    public MsgMiddleResult setPushResultDescription(String pushResultDescription) {
        this.pushResultDescription = pushResultDescription;
        return this;
    }

    public Long getPushChannelId() {
        return pushChannelId;
    }

    public MsgMiddleResult setPushChannelId(Long pushChannelId) {
        this.pushChannelId = pushChannelId;
        return this;
    }

    public String getPushChannelCode() {
        return pushChannelCode;
    }

    public MsgMiddleResult setPushChannelCode(String pushChannelCode) {
        this.pushChannelCode = pushChannelCode;
        return this;
    }

    public Integer getPushChannelType() {
        return pushChannelType;
    }

    public MsgMiddleResult setPushChannelType(Integer pushChannelType) {
        this.pushChannelType = pushChannelType;
        return this;
    }

    public String getPushChannelName() {
        return pushChannelName;
    }

    public MsgMiddleResult setPushChannelName(String pushChannelName) {
        this.pushChannelName = pushChannelName;
        return this;
    }

    @Override
    public String toString() {
        return "MsgMiddleResult{" +
                "receivers=" + receivers +
                ", pushChannelId=" + pushChannelId +
                ", pushChannelType=" + pushChannelType +
                ", pushChannelName='" + pushChannelName + '\'' +
                ", pushResultCode=" + pushResultCode +
                ", pushResultDescription='" + pushResultDescription + '\'' +
                '}';
    }
}
